<?php

return [
    'menu' => [
        'agent' => [
            'name' => '代理管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '代理列表', 'uri' => '/agent/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'agentlog' => ['name' => '代理收益记录', 'uri' => '/agent/agentlog', 'show' => false, 'method' => 'get'],  //index 方法名
                'agent_edit' => ['name' => '添加、编辑商户', 'uri' => '/agent/agent_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea' => ['name' => '商户服务区域', 'uri' => '/agent/agentarea', 'show' => false, 'method' => 'get'],  //index 方法名
                'agentarea_edit' => ['name' => '服务区域编辑、管理', 'uri' => '/agent/agentarea_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea_del' => ['name' => '服务区域删除', 'uri' => '/agent/agentarea_del', 'show' => false, 'method' => 'get|post'],
                'widtraw' => ['name' => '申请提现', 'uri' => '/agent/widtraw', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'widtrawstr' => ['name' => '取消提现', 'uri' => '/agent/widtrawstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'widtrawlog' => ['name' => '提现记录', 'uri' => '/agent/widtrawlog', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'order' => [
            'name' => '商家订单',
            'ico' => '&#xe726;',
            'sub' => [
                'order2' => ['name' => '待服务订单', 'uri' => '/order/order2', 'show' => true, 'method' => 'get'],  //index 方法名
                'order3' => ['name' => '服务中订单', 'uri' => '/order/order3', 'show' => true, 'method' => 'get'],  //index 方法名
                'order4' => ['name' => '已完成订单', 'uri' => '/order/order4', 'show' => true, 'method' => 'get'],  //index 方法名
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统服务',
            'ico' => '&#xe726;',
            'sub' => [
                'conven' => ['name' => '便民服务管理', 'uri' => '/system/conven', 'show' => true, 'method' => 'get'],  //index 方法名
                'conven_edit' => ['name' => '便民服务编辑、管理', 'uri' => '/system/conven_edit', 'show' => false, 'method' => 'get|post'],
                'conven_del' => ['name' => '便民服务删除', 'uri' => '/system/conven_del', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'shop' => [
            'name' => '商家管理',
            'ico' => '&#xe726;',
            'sub' => [
                'shoplist' => ['name' => '商家列表', 'uri' => '/shop/shoplist', 'show' => true, 'method' => 'get'],  //index 方法名
                'users' => ['name' => '商家客户', 'uri' => '/shop/users', 'show' => false, 'method' => 'get'],  //index 方法名
                'businesslog' => ['name' => '商家收益记录', 'uri' => '/shop/businesslog', 'show' => false, 'method' => 'get'],  //index 方法名
                'shoplist_edit' => ['name' => '添加、编辑商户', 'uri' => '/shop/shoplist_edit', 'show' => false, 'method' => 'get|post'],
                'shoparea' => ['name' => '商户服务区域', 'uri' => '/shop/shoparea', 'show' => false, 'method' => 'get'],  //index 方法名
                'shoparea_edit' => ['name' => '服务区域编辑、管理', 'uri' => '/shop/shoparea_edit', 'show' => false, 'method' => 'get|post'],
                'shoparea_del' => ['name' => '服务区域删除', 'uri' => '/shop/shoparea_del', 'show' => false, 'method' => 'get|post'],
                'businesssq' => ['name' => '商家申请', 'uri' => '/shop/businesssq', 'show' => true, 'method' => 'get|post'],  //index 方法名
                'businesssqstr' => ['name' => '商家申请审核', 'uri' => '/shop/businesssqstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
    ]
];
